Camera signal processing apparatus and camera signal processing method

ABSTRACT

A camera signal processing apparatus comprises an interpolated pixel data generating means for interpolating, at least on two directions, pixel data based on an imaging signal from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel separately generating interpolated pixel data in the at least two directions; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of the at least two directions of the interpolated pixel data; a normalizing means for normalizing the correlation value of each of the at least two directions to generate a normalized value indicative of a relative value of the correlation value of each of the at least two directions; a correcting means for adding a predetermined correction value to the normalized value; a weighting means for weighting the interpolated pixel data in each of the at least two directions by the normalized value and adding together the weighted interpolated pixel data in-all of the at least two directions; and an image generating means for generating an image based on the interpolated pixel data weighted by the weighting means.

BACKGROUND OF THE INVENTION

[0001] The present invention relates to a camera signal processing apparatus and a camera signal processing method for processing a camera signal generated by a camera apparatus of single-plate type. More particularly, the present invention relates to a camera signal processing apparatus and a camera signal processing method for computing a correlation value indicative of a correlation between interpolated values of pixels when a luminance signal or a color difference signal is generated from an imaging signal generated by a solid-state image sensor.

[0002] In a camera apparatus of single-plate type using a solid-state image sensor such as a charge coupled device (CCD) image sensor (hereafter simply referred to as a CCD), a color filter for transmitting lights corresponding to R (Red), G (Green), and B (Blue) is arranged on the CCD. In this color filter, a region for transmitting a red light, a region for transmitting a green light, and a region for transmitting a blue light are formed in matrix. For example, these regions are arranged as G, R, G . . . or B, G, B . . . horizontally. The light that passed each region of the color filter is inputted in the CCD. Then, pixel data G, pixel data R, and pixel data B are generated from the pixels corresponding to the R, G, and B regions of the color filter.

[0003] In this camera apparatus, a luminance signal and a color signal are generated based on the lights inputted in the CCD.

[0004] The CCD used in the above-mentioned camera apparatus is arranged with a color filter having R, G, and B for each pixel. The R, G, and B regions are arranged as R, G, R, G, . . . horizontally for example. In this camera apparatus, a color signal is generated in correspondence with the color filter arranged for each pixel. Therefore, in this CCD, in a pixel for which the color filter for transmitting a red light is arranged, the pixel data G and the pixel data B corresponding to G and B respectively are not generated, making it necessary for the data corresponding to G and, B to be generated by interpolation.

[0005] In the above-mentioned camera apparatus a method of processing a luminance camera signal generated by the CCD for example is known in which, for reading all pixels, pixel data is generated by performing arithmetic mean on the pixel data corresponding to four pixels, namely two vertical pixels and two horizontal pixels of the CCD.

[0006] In the single-plate camera apparatus, when generating pixel data by interpolation, correlation values indicative of correlations in vertical and horizontal directions are detected. In this detection, the signals of pixels arranged around are calculated by use of a filter to obtain the correlation value in vertical direction and the correlation value in horizontal direction. Further, in this camera apparatus, the pixel data obtained by interpolation is weighted by use of the obtained correlation values.

SUMMARY OF THE INVENTION

[0007] However, in the above-mentioned camera apparatus, the detection of a correlation value by the above-mentioned technique may fail to correctly detect the relationship between vertical correlation and horizontal correlation in the pixel data generated by the CCD.

[0008] Namely, the relationship between vertical correlation and horizontal correlation may not be correctly computed due to the aspect ratio of the CCD or a distortion or noise caused when an analog signal outputted from the CCD is detected or a high-frequency signal difficult to be detected for example.

[0009] If the relationship between vertical correlation and horizontal correlation is not correctly computed, it is difficult to determine in which of the vertical and horizontal directions the correlation is higher.

[0010] It is therefore an object of the present invention to provide a camera signal processing apparatus and a camera signal processing method capable of varying the relationship between vertical correlation and horizontal correlation by considering a signal distortion caused by the CCD for example.

[0011] In carrying out the invention and according to one aspect thereof, there is provided a camera signal processing apparatus comprising: a correlation detector for detecting a horizontal correlation value and a vertical correlation value for indicating degrees of correlation in horizontal and vertical directions of interpolated pixel data generated based on a position of pixel data detected by a solid-state image sensor and pixel data around that position and detecting a horizontal correlation value and a vertical correlation value for weighting the interpolated pixel data; a normalizing circuit for normalizing the horizontal correlation value and the vertical correlation value detected by the correlation detector to generate a normalized value indicative of a relative value between these correlation values; and a correcting circuit for adding a predetermined correction value to the normalized value generated by the normalizing circuit.

[0012] In carrying out the invention and according to another aspect thereof, there is provided a camera signal processing method comprising the steps of: detecting a horizontal correlation value and a vertical correlation Value for indicating degrees of correlation in horizontal and vertical directions of interpolated pixel data generated based on a position of pixel data detected by a solid-state image sensor and pixel data around that position and detecting a horizontal correlation value and a vertical correlation value for weighting the interpolated pixel data; normalizing the horizontal correlation value and the vertical correlation value detected in the correlation detecting step to generate a normalized value indicative of a relative value between these correlation values; and adding a predetermined correction value to the normalized value generated in the normalizing step.

BRIEF DESCRIPTION OF THE DRAWINGS

[0013] These and other objects of the invention will be seen by reference to the description, taken in connection with the accompanying drawing, in which:

[0014]FIG. 1 is a block diagram illustrating an example of a constitution of a camera apparatus;

[0015]FIG. 2 is a block diagram illustrating an example of a constitution of a signal processing circuit;

[0016]FIG. 3 is a diagram illustrating an example of an arrangement of pixel data R, G, and B each corresponding to each of pixels;

[0017]FIG. 4 is a circuit diagram illustrating an example of a constitution of a vertical-direction interpolator;

[0018]FIG. 5 is a diagram illustrating an example of an arrangement of pixel data G corresponding to each pixel;

[0019]FIG. 6 is a graph illustrating a frequency characteristic of an LPF [1, 0, 6, 0, 1];

[0020]FIG. 7 is a graph illustrating a frequency characteristic of an. LPF [1, 0, 1];

[0021]FIG. 8 is a diagram illustrating an example of interpolated pixel data G′ to be generated after interpolation;

[0022]FIG. 9 is a circuit digram illustrating an example of a horizontal-direction interpolator;

[0023]FIG. 10 is a diagram illustrating an example of an arrangement of pixel data B corresponding to each pixel;

[0024]FIG. 11 is a diagram illustrating an example of an arrangement interpolated pixel data B′ obtained when vertically performing arithmetic mean on the pixel data B corresponding to each pixel;

[0025]FIG. 12 is a diagram illustrating an example of interpolated pixel data B′ to be generated after interpolation;

[0026]FIG. 13 is a circuit diagram illustrating an example of a constitution of a vertical-direction interpolator;

[0027]FIG. 14 is a circuit diagram illustrating an example of a constitution of an edge processor;

[0028]FIG. 15 is a diagram illustrating an example of edge processing to be performed by the edge processor;

[0029]FIG. 16 is a circuit diagram illustrating an example of a constitution of a horizontal correlation detector;

[0030]FIG. 17 is a circuit diagram illustrating an example of a constitution of a vertical correlation detector;

[0031]FIG. 18 is a circuit diagram illustrating an example of a constitution of a noise canceler;

[0032]FIG. 19A is a diagram illustrating an example of performing subtraction processing on a correlation value inputted in the noise canceler;

[0033]FIG. 19B is a diagram illustrating an example in which the correlation value is limited by a negative value;

[0034]FIG. 20 is a diagram illustrating an example of a constitution of an offset circuit;

[0035]FIG. 21 is a graph illustrating an example of the variation in input/output characteristic obtained when an offset value is added to a correlation value inputted in the offset circuit;

[0036]FIG. 22 is a diagram illustrating an example of image data that changes in color for each adjacent pixel data;

[0037]FIG. 23 is a diagram illustrating an example of a constitution of a bias correcting circuit;

[0038]FIG. 24 is a diagram illustrating an example of the variation in input/output characteristic obtained when a correction value is added to a correlation value inputted in the bias correcting circuit;

[0039]FIG. 25 is a diagram illustrating an example of a constitution of an emphasis/deemphasis circuit;

[0040]FIG. 26 is a graph illustrating the variation in input/output characteristic obtained when multiplication is performed on a correlation value inputted in the emphasis/deemphasis circuit;

[0041]FIG. 27 is a circuit diagram illustrating an example of a constitution of a color difference signal suppressor;

[0042]FIG. 28A and FIG. 28B are diagrams illustrating examples of selecting minimum absolute value interpolated pixel data Rh and Gh of the color differences of interpolated pixel data Rv and Gv for pixel data R and G vertically arranged in a color difference signal suppressor, interpolated pixel data Rh and Gh for horizontally arranged pixel data R and C, and weighted interpolated pixel data Rc and Gc; and

[0043]FIGS. 29A and 29B are diagrams illustrating other examples of pixel data arrangements.

DETAILED DESCRIPTION OF PREFERRED EMBODIMENTS

[0044] This invention will be described in further detail by way of example with reference to the accompanying drawings.

[0045] As shown in FIG. 1, a camera signal processing apparatus associated with the present invention is applicable to a camera apparatus 1 for generating a still image according to an inputted light for example.

[0046] The camera apparatus 1 comprises an optical system 2 for forming the image of a subject onto a CCD (Charge Coupled Device) imager (hereafter simply referred to as a CCD), a CCD 3, a timing generator 4 for driving the CCD 3, a sample-and-hold circuit 5 for into which an imaging signal is inputted, an AGC (Automatic Gain Control) circuit 6 into which the imaging signal is inputted from the sample-and-hold circuit 5 for gain control, an A/D converter 7 for converting the inputted imaging signal into digital image data, a camera signal processor 8 for performing camera signal processing on the image data, a CCD detector 9 for detecting the imaging signal generated by the CCD 3, and a control block 10 for controlling the-above-mentioned components.

[0047] The CCD 3 has a color filter in which a region for transmitting a red light (R), a region for transmitting a green light (G), and a region for transmitting a blue light (B) are formed in a matrix. The lights transmitted through the color filter for each pixel are inputted in the CCD 3. In this color filter, these color transmitting regions are arranged as R, G, R, G, . . . or G, B, G, B, . . . in a horizontal direction for example. Namely, the CCD 3 generates pixel data R, pixel data G, and pixel data B based on the lights corresponding to R, G, and B for each pixel.

[0048] The image data outputted from the A/D converter 7 is inputted in the CCD detector 9. The image data detected by the CCD detector 9 is inputted in an AE (Automatic Exposure) circuit and an AF (Automatic Focus) circuit, not shown, for example. The image data inputted in the AE circuit for example is used for adjusting the speed or aperture of an electronic shutter, thereby automatically switching between the brightness levels of light entering the CCD 3.

[0049] Referring to FIG. 2, the camera signal processor. 8 comprises a defect correcting circuit 11 into which the image data is inputted from the A/D converter 7, a CLP (Clamp) circuit 12 into which the image data is inputted from the defect correcting circuit 11, a white balance circuit 13 into which the image data is inputted from the CLP circuit 12, and a γ (gamma) correcting circuit 14 into which the image data is inputted from the white balance circuit 13.

[0050] The defect correcting circuit 11 performs defect correction on the image data supplied from the A/D converter 7. The defect correcting circuit 11 corrects a defect of a pixel for which no pixel data is generated because the CCD 3 has a defect and outputs the corrected image data to the CLP 12.

[0051] In the CLP circuit 12, optical black is subtracted from the image data supplied from the defect correcting circuit 11. Thus, the CLP circuit 12 corrects the black level of the inputted image data and outputs the resultant image data to the white balance circuit 13.

[0052] The white balance circuit 13 adjusts the levels of the colors corresponding to the image data R, G, and B supplied from the CLP circuit 12. Thus, the white balance circuit 13 outputs the image data corrected in level for each color to the gamma correcting circuit 14.

[0053] The gamma correcting circuits 14 performs gamma correction on the image data supplied from the white balance circuit 13. Then, the gamma correcting circuit 14 outputs the corrected image data to an image data interpolating block and a correlation value detecting block to be described later.

[0054] Referring to FIG. 2 again, the camera signal processor 8 comprises the image data interpolating block 15 into which the image data is inputted from the gamma correcting circuit 14, a correlation value detecting block 16 for detecting a correlation value between the pieces of image data, a noise canceling block 17 for eliminating a noise from the correlation value, an offset circuit 18 for offsetting the correlation value, a normalizing circuit 19 for normalizing the correlation value, a bias correcting circuit 20 for correcting the bias in the direction of correlation detection, an emphasis/deemphasis circuit 21 for emphasizing or deemphasizing the correlation, a weighted addition circuit 22 for weighting the interpolated image data by use of the correlation value, a contour correcting circuit 23 for correcting the contour of the image data, a Y/C converter 24 for converting the image data into a Y/C signal composed of a luminance signal (Y) and a color difference signal (C), a color difference signal suppresser 25 for suppressing a false color signal caused by a color difference signal, and an output block 26.

[0055] Image data composed of plural pieces of pixel data is inputted from the gamma correcting circuit 14 into the image data interpolating block 15. The image data interpolating block 15 perform interpolation on the pixel data R, G, and B for each pixel to generate interpolated pixel data R′, G′, and B′. The image data interpolating block 15 includes a horizontal-direction interpolator 15 a for interpolating the pixel data corresponding to horizontally arranged pixels and a vertical-direction interpolator 15 b for interpolating the pixel data corresponding to vertically arranged pixels.

[0056] The pixel data R, G, and B corresponding to the pixels arranged in a matrix as shown in FIG. 3 is inputted in the horizontal-direction interpolator 15 a. The horizontal-direction interpolator 15 a computes the interpolated pixel data in horizontal direction by use of a filter expressed in a relation (1) below. It should be noted that FIG. 3 shows the pixel data R, G, and B each corresponding to each pixel and indicates each pixel in a coordinate number. In what follows, it is assumed that the pixels be arranged on horizontal lines 0h, 1h, 2h, 3h, and 4h.

[1, 4, 6, 4, 1]/8  (1)

[0057] Because the filter indicated by the relation (1) is used to compute interpolated pixel data R′, G′, and B′, the horizontal-direction interpolator 15 a is constituted as shown in FIG. 4.

[0058] When generating the interpolated pixel data R′, G′, and B′ in horizontal direction, the horizontal-direction interpolator 15 a is constituted as shown in FIG. 4. The horizontal-direction interpolator 15 a comprises an input block 30 into which pixel data is inputted from the gamma correcting circuit 14, a delay circuit 31 into which each piece of pixel data is inputted from the input block 30, a filter 32 into which each piece of pixel data in horizontal direction is inputted from the delay circuit 31 to generate interpolated pixel data, a selector 33 into which the interpolated pixel data is inputted through the filter 32, and an output terminal 34 from which the interpolated pixel data supplied from the selector 33 is outputted.

[0059] Pixel data pieces in horizontal direction are sequentially inputted in the input block 30 from the gamma correcting circuit 14. These pixel data pieces are inputted in the input block 30 one at each clock.

[0060] The delay circuit 31 includes delay circuits 31 a through 31 d into which the pixel data inputted in the input block 30 are inputted. In the delay circuit 31, the inputted pixel data are inputted in the delay circuits 31 a through 31 d in synchronization with the above-mentioned clock, the delayed pixel data being outputted to the filter 32.

[0061] The filter 32 includes an adder 32 a into which the pixel data is inputted through the input block 30 and the delay circuit 31 d, an adder 32 b into which the pixel data is inputted through the delay circuit 31 a and the delay circuit 31 c, an adder 32 c into which the pixel data is inputted through the delay circuit 31 b, and an adder 32 d into which the outputs from the adder 32 a and the adder 32 c are inputted.

[0062] In the adder 32 a, the pixel data directly-from the input block 30 and the pixel data through the delay circuit 31 d are inputted. In the adder 32 c, the pixel data is inputted through the delay circuit 31 b. In the adder 32 d, the pixel data is inputted through the adder 32 a and the adder 32 c. In the adder 32 b, the pixel data is inputted through the delay circuit 31 a and the delay circuit 31 c.

[0063] Namely, the filter 32 constitutes filter [1, 0, 6′, 0, 1]/8 by the adders 32 a, 32 c, and 32 d and filter [1, 0, 1]/2 by the adder 32 b.

[0064] The selector 33 includes a selector 33 a and a selector 33 b into which the output of the adder 32 d and the pixel data through the delay circuit 31 b are inputted, a selector 33 c into which the output of the selector 33 a and the output of the adder 32 b are inputted, and a selector 33 d into which the outputs of the adder 32 b and the selector 33 b are inputted.

[0065] A control signal is inputted from the control block 10 into these selectors 33 a through 33 d to control the operations of thereof.

[0066] The output block 34 has a terminal 34 a for outputting the data from the selector 33 c and a terminal 34 b for outputting the data from the selector 33 d to an edge processor circuit to be described later.

[0067] The horizontal-direction interpolator 15 a thus constituted computes not only interpolated pixel data R22′ and B22′ but also interpolated pixel data G22′ for pixel data G22 for example.

[0068] When the horizontal-direction interpolator 15 a computes interpolated pixel data G22′ for pixel data G22 shown in FIG. 3, pixel data G20, R21, G22, R23, and G24 in 2h are sequentially inputted in the input block 30.

[0069] Next, the pixel data G20, R21, G22, R23, and G24 inputted in the input block 30 are inputted into the filter 32 through the delay circuit 31. Namely, the pixel data G20 is inputted into the adder 32 a, the pixel data R21 is inputted into the adder 32 b, the pixel data G22 is inputted into the adder 32 c, the pixel data R23 is inputted into the adder 32 b, and the pixel data G24 is inputted into the adder 32 a.

[0070] Then, the filter 32 computes interpolated pixel data G22′ for the pixel data G22 from the pixel data G20, G22, and G24. Namely, the adder 32 a adds the pixel data G20 and the pixel data G24 and outputs a result to the adder 32 d. The adder 32 c adds a result of quadrupling the pixel data G22 and a result of doubling the pixel data G22 and outputs a result of this addition to the adder 32 d. Then, the adder 32 d adds the outputs of the adder 32 a and the adder 32 c and performs ⅛ multiplication on a result of this addition to output a result of the multiplication to the selector 33. The adder 32 b adds the pixel data R21 and the pixel data R23 and performs ½ multiplication on a result of this addition to output a result of this multiplication to the selector 33.

[0071] Thus, by performing the adding operations by the adders 32 a, 32 c, 32 d, {pixel data G20+6×pixel data G22+pixel data G24}/8 is computed. Namely, the filter 32 constitutes filter [1, 0, 1]/2 by the adder 32 b, constitutes filter [1, 0, 6, 0, 1]/8 by the adders 32 a, 32 c, and 32 d, and passes the pixel data G20, G22, and G24 through the filter indicated in the relation (1) above. Therefore, according to the filter 32, interpolated pixel data R22′ and G22′ for the pixel data R22 and G22 are generated.

[0072] Then, the interpolated pixel data G22′ and the pixel data G22 are inputted in the selector 33 a and the selector 33 b. A control signal H or a control signal L from the control block 10 is also inputted in the selector 33 a and the selector 33 b. When the control signal H is inputted, the selector 33 a and the selector 33 b output the interpolated pixel data G22′ supplied from the filter 32 to the selector 33 c and the selector 33 d. When the control signal L is inputted, the selector 33 a and the selector 33 b output the pixel data G22 to the selector 33 c and the selector 33 d without change.

[0073] Next, because the interpolated pixel data G22′ for the pixel data G22 is generated by the filter 32, the control block 10 outputs the control signal L to the selector 33 c and the selector 33 d. When the control signal L is thus inputted into the selector 33 c and the selector 33 d, the selector 33 c outputs the interpolated pixel data R22′ and the selector 33 d outputs the pixel data G22 or the interpolated pixel data G22′.

[0074] On the other hand, when the control signal H is inputted from the control block 10 into the selector 33 c and the selector 33 d, the selector 33 c outputs the data supplied from the selector 33 a and the selector 33 d outputs the data supplied from the adder 32 b.

[0075] The selector 33 c outputs interpolated pixel data R′ or interpolated pixel data B′ to the terminal 34 a. The selector 33 d outputs interpolated pixel data G′ to the terminal 34 b. When outputting the interpolated pixel data G22′ for the pixel data G22 for example, the selector 33 d is controlled to output the input from the selector 33 b. When outputting the interpolated pixel data G23′ for the pixel data R23 for example, the selector 33 d is controlled to output-the input from the adder 32 b. When outputting the interpolated pixel data R22′ for the pixel data G22 for example, the selector 33 c is controlled to output the input from the adder 32 b. When outputting the interpolated pixel data R23′ for the pixel data R23, the selector 33 c is controlled to output the input from the selector 33 a.

[0076] In computing the interpolated pixel data G′ for pixel data G, the interpolated pixel data G′ is computed supposing the CCD 3 consisting of only the pixel data G as shown in FIG. 5, of the inputted pieces of pixel data R and G. Therefore, when computing the interpolated pixel data G′ for a pixel for which no pixel data G exists, the horizontal-direction interpolator 15 a uses filter [1, 0, 1]/2 to compute the interpolated pixel data G′. When computing the interpolated pixel data G′ for the pixel for which pixel data G exists, the horizontal-direction interpolator 15 a uses filter [1, 0, 6, 0, 1]/8 to compute the interpolated pixel data G′. Therefore, in the horizontal-direction interpolator 15 a that computes the interpolated pixel data G′ by use of these filters, the frequency characteristics of these filters are as shown in FIGS. 6 and 7. Namely, filter [1, 0, 6, 0, 1]/8 presents the frequency characteristic shown in FIG. 6, while filter [1, 0, 1]/2 presents the frequency characteristic shown in FIG. 7. According to these frequency characteristics, by use of these filters, the horizontal-direction interpolator 15 a can reduce the difference between the frequency characteristic of the interpolated pixel data G′ in the pixel for which the pixel data G exists and the frequency characteristic of the interpolated pixel data G′ in the pixel for which the pixel data G does not exist.

[0077] Consequently, computing the interpolated pixel data G′ for each piece of pixel data G can obtain the interpolated pixel data G′ as shown in FIG. 8.

[0078] As described above, the horizontal-direction interpolator 15 a computes the interpolated pixel data R22′ for the pixel data G22 in 2h by use of filter [1, 0, 1]/2. In 1h, the horizontal-direction interpolator 15 a can also compute the interpolated pixel data B11′ for pixel data G11.

[0079] When computing interpolated pixel data B22′ for pixel data G22 in 2h, a filter shown in FIG. 9 is used. In what following, an example in which interpolated pixel data B′ is computed in a line having no pixel data B.

[0080] When computing interpolated pixel data B22′ for pixel data G22, a horizontal-direction interpolator 15 a′ constituted as shown in FIG. 9 is used. It should be noted that, with reference to the horizontal-direction interpolator 15 a′, components similar to those previously described with the horizontal-direction interpolator 15 a shown in FIG. 4 are denoted by the same reference numerals and the description of the common components will be skipped. Namely, in the horizontal-direction interpolator 15 a′ shown in FIG. 9, the input block 30 is composed of a terminal 30 a into which the pixel data in 1h are inputted in the order of B10, G11, B12, G13, and B14 for example and a terminal 30 b into which the pixel data in 3h are inputted in the order of B30, G31, B32, G33, and B34 for example. The horizontal-direction interpolator 15 a′ also has an adder 35 into which the pixel data are inputted from the terminals 30 a and 30 b. The adder 35 performs an adding operation and a dividing operation on the inputted pixel data. Namely, the adder 35 performs an operation {pixel data B10+pixel data B30}/2 for example. Like the horizontal-direction interpolator 15 a shown in FIG. 4, the horizontal-direction interpolator 15 a′ shown in FIG. 9 outputs interpolated pixel data G′ and B′ by way of delay circuits 31 a through 31 d, an adder 32, and a selector 33.

[0081] Namely, the horizontal-direction interpolator 15 a′ first performs arithmetic mean on the pixel data B corresponding to the pixels arranged in vertically adjacent 1h and 3h for vertical interpolation, thereby computing interpolated pixel data B′ by vertically interpolating as shown in FIG. 11 the pixel data B of the pixels arranged as shown in FIG. 10.

[0082] Next, the horizontal-direction interpolator 15 a′ computes the horizontal-direction interpolated pixel data B′ for the pixel data B by putting the vertical-direction pixel data B and its interpolated pixel data B′ through filter [1, 0, 6, 0, 1]/8 and filter [1, 0, 1]/2.

[0083] Namely, the horizontal-direction interpolator 15 a′ generates the interpolated pixel data B22′ for a line having no pixel data B horizontally as follows. First, in the filter 32, filter [1, 0, 6, 0, 1]/8 is applied to the pixel data B in 1h and 3h through the adders 32 a, 32 c, and 32 d and filter [1, 0, 1]/2 is applied to the pixel data G in 1h and 3h through the adder 32 b. The horizontal-direction interpolator 15 a′ also has a subtraction processing circuit for subtracting the value of the pixel data G obtained through filter [1, 0, 1]/2 from the value of the pixel data B obtained through filter [1, 0, 6, 0, 1]/8 and an addition processing circuit for adding the interpolated pixel data G22′ obtained by the horizontal-direction interpolator 15 a shown in FIG. 4 to the output of this subtraction processing circuit.

[0084] In other words, the horizontal-direction interpolator 15 a′ subtracts the value of the pixel data G obtained through filter [1, 0, 1]/2 from the value of the pixel data B obtained through filter [1, 0, 6, 0, 1]/8 and adds the pixel data G′ to the resultant value of the subtraction, outputting the interpolated pixel data B′ to a weighted addition circuit 22.

[0085] Thus, the horizontal-direction interpolator 15 a′ shown in FIG. 9 can compute the interpolated pixel data B22′ as shown in FIG. 12 even for the pixel data G22 corresponding to the pixel for which no pixel data B exists as with 2h. Namely, according to the horizontal-direction interpolator 15 a′ shown in FIG. 9, the interpolated pixel data B′ can be computed for all pixels.

[0086] Further, when computing the interpolated pixel data B22′ for the pixel data G22, the horizontal-direction interpolator 15 a′ can use the interpolated pixel data obtained by the following relation (2) and the above-mentioned relation (1).

B22′={(B12′−G12′)+(B32′−G32′)}/2+G22′  (2)

[0087] According to the relation (2), the interpolated pixel data B22′ can be computed by use of G12′, G32′, and G22′ computed by the horizontal-direction interpolator 15 a and B32′ and B12′ computed by the relation (1).

[0088] On the other hand, the vertical-direction interpolator 15 b is constituted as shown in FIG. 13. It should be noted that with reference to the vertical-direction interpolator 15 b to be described below, components similar to those previously described with the horizontal-direction interpolator 15 a are denoted by the same reference numerals and the description of the common components will be skipped.

[0089] As shown in FIG. 13, the vertical-direction interpolator 15 b has an input block 30 into which the pixel data R, pixel data G, and pixel data B in vertical direction are sequentially inputted. The input block 30 has a terminal 30 a into which the pixel data in 1h is inputted, a terminal 30 b into which the pixel data in 3h is inputted, a terminal 30 c into which the pixel data in 0h is inputted, a terminal 30 d into which the pixel data in 4h is inputted, and a terminal 30 e into which the pixel data in 2h is inputted.

[0090] Like the above-mentioned horizontal-direction interpolator 15 a, the vertical-direction interpolator 15 b also has a filter 32, selector 33, and an output block 34.

[0091] When pixel data B10, B30, G00, G40, and G20 are inputted in the terminals 30 a through 30 e, the vertical-direction interpolator 15 b outputs the pixel data inputted in the terminals 30 a and 30 b to the adder 32 b, the pixel data inputted in the terminals 30 c and 30 d to the adder 32 a, and the pixel data inputted in the terminal 30 e to the adder 32 c. Then, like the horizontal-direction interpolator 15 a, the vertical-direction interpolator 15 b applies these pieces of input pixel data to the above-mentioned relations (1) and (2) through the filter 32, thereby obtaining the interpolated pixel data R′, G′, and B′ for the pixel data R, G, and B.

[0092] The horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b that constitute the image data interpolating block 15 are connected to an edge processor 15 c. Referring to FIG. 14, the edge processor 15 c comprises an input block 40 composed of terminals 40 a through 40 c in which the delayed pixel data G from the above-mentioned gamma correcting circuit 14 is inputted, delay circuits 41 a through 41 d into which the pixel data G is inputted from the terminals 40 a through 40 c, a comparing block 42 for making comparison between the pieces of inputted pixel data G, a computing block 43 for performing computation processing on a result obtained in the comparing block 42, an output block 44 for controlling the output according to a result obtained in the computing block 43, and an output terminal 45 for outputting the resultant pixel data from the output block 44. The pixel data G is also inputted from the gamma correcting circuit 14 into the edge processor 15 c. The following describes the edge processor 15 c by use of an example in which the values of interpolated pixel data G′ shown in FIG. 15 are controlled.

[0093] The input block 40 receives pixel data G1 through G4 around the interpolated pixel data G′ of FIG. 15 obtained by interpolation by the horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b. When performing edge processing on the interpolated pixel data in 2h for example, the input block 40 has the terminal 40 a into which the pixel data G1 in 1h adjacent above the interpolated pixel data G′ is inputted, the terminal 40 b into which the pixel data G2 and G3 horizontally adjacent to the interpolated pixel data G′ are inputted, and the terminal 40 c into which the pixel data G4 in 3h adjacent below the interpolated pixel data G′ is inputted. The terminals 40 a through 40 c are connected to the delay circuits 41 a through 41 d as shown in FIG. 14. The pixel data G1, G2, G3, and G4 are delayed to be inputted in the terminals 40 a through 40 c.

[0094] The delay circuits 41 a through 41 d are connected to the comparing block 42 and the output block 44. The pixel data G1 through G4 are inputted from the input block 40 into the delays circuits 41 a through 41 d. The delay circuits 41 a through 41 d output the pixel data G1 through G4 to the comparing block 42 and the output block 44 on a clock that is in synchronization with a clock on which these pixel data G1 through G4 are inputted in the delay circuits.

[0095] The comparing block 42 is composed of comparators 42 a through 42 f into which two of the four pieces of pixel data inputted in the input block 40 are inputted. Namely, the comparing block 42 includes the comparator 42 a into which the pixel data G1 and G2 are inputted, the comparator 42 b into which the pixel data G1 and G3 are inputted, the comparator 42 c into which the pixel data G1 and G4 are inputted, the comparator 42 d into which the pixel data G2 and G3 are inputted, the comparator 42 e into which the pixel data G2 and G4 are inputted, and the comparator 42 f into which the pixel data G3 and G4 are inputted.

[0096] The pixel data G1 is inputted in the comparator 42 a at its terminal A and the pixel data G2 at its terminal B. The pixel data G1 is inputted in the comparator 42 b at its terminal A and the pixel data G3 at its terminal B. The pixel data G1 is inputted in the comparator 42 c at its terminal A and the pixel data G4 at its terminal B. The pixel data G2 is inputted in the comparator 42 d at its terminal A and the pixel data G4 at its terminal B. The pixel data G2 is inputted in the comparator 42 e at its terminal A and the pixel data G4 at its terminal B. The pixel data G3 is inputted in the comparator 42 f at its terminal A and the pixel data G4 at its terminal B.

[0097] The comparison results are inputted from the comparing block 42 into the computing block 43. Based on the inputted comparison results, the computing block 43 selects the second-place pixel data and the third-place pixel data from the pixel data G1 through G4 inputted in the input block 40. The computing block 43 is composed of plural selectors. If the comparison results of the, comparator 42 a, the comparator 42 b, and the comparator 42 c are any of (L, H, H), (H, L, H), and (H, H, L) for example, the computing block 43 outputs a computing result with the pixel data G1 as the second place to the output block 44. If the comparison results of the comparator 42 a, the comparator 42 d, and the comparator 42 e are any of (H, L, L), (H, L, H), and (H, H, L) for example, the computing block 43 outputs a computing result with the pixel data G2 as the third place to the output block 44.

[0098] The output block 44 is connected to the input block 40 and the computing block 43. The pixel data G1 through G4 are inputted from the input block 40 into the output block 44. At the same time, the computational result is inputted from the computing block 43 into the output block 44. The output block 44 has a selector 44 a for outputting pixel data according to the computational result indicative of the second place and a selector 44 b for outputting the pixel data G1 through G4 according to the computational result indicative of the third place. The output block 44 also has an “00” terminal into which the pixel data G1 inputted from the terminal 40 a is inputted, a terminal “10” into which the pixel data G2 inputted from the terminal 40 b is inputted, a terminal “01” into which the pixel data G3 inputted from the terminal 40 b is inputted, and a terminal “11” into which the pixel data G4 inputted from the terminal 40 c is inputted.

[0099] An output block 45 is connected to the output block 44, the horizontal-direction interpolator 15 a, and the vertical-direction interpolator 15 bThe output block 45 outputs the pixel data G1 through G4 indicative of the second place and the third place outputted from the output block 44 to the horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b.

[0100] When performing edge processing by the edge processor 15 c thus constituted, the pixel data G1, G2, G3, and G4 around the interpolated pixel data G′ obtained by interpolation by the horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b are inputted in the input block 40 as shown in FIG. 15. A numeral in each of the pixel data G1 through G4 shown in FIG. 15 denotes the size thereof. The pixel data G1 is inputted in the input block 40 at the terminal 40 a, the pixel data G2 is inputted at the terminal 40 b, the pixel data G3 is also inputted at the terminal 40 b, and the pixel data G4 is inputted at the terminal 40 c. Then, the input block 40 outputs these inputted pixel data G1 through G4 to the comparators 42 a through 42 f by way of the delay circuits 41 a through 41 d as shown in FIG. 14.

[0101] Next, the comparators 42 a through 42 f make comparison between the sizes of the inputted pixel data G1 through G4 and output comparison results to the computing block 43. At this moment, if the pixel data inputted at the terminal A is found greater than the pixel data inputted at the terminal B, each comparator outputs comparison result H to the computing block 43. If the pixel data inputted at the terminal A is found equal to or smaller than the pixel data inputted at the terminal B, each comparator output comparison result L to the computing block 43.

[0102] According to the comparison results supplied from the comparators 42 a through 42 f, the computing block 43 determines the second-place and third-place pixel data G1 to G4 of the pixel data G1 through G4 inputted in the input block 40 and outputs computational results to the output block 44. The computational result indicative of the second place is outputted to the selector 44 a. The computational result indicative of the third place is outputted to the selector 44 b. Then, the selectors 44 a and 44 b select, based on the computational results, the pixel data G1 to G4 that correspond to the second place and the third place of the pixel data G1, G2, G3, and G4 and output the selected pixel data to the output block 45.

[0103] The output block 45 outputs the received pixel data G1 to G4 corresponding to the second place and the third place to the horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b.

[0104] Next, the horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b compute the size of interpolated pixel data G′ from the pixel data G1 to G4 corresponding to the second place and the third place.

[0105] Therefore, according to the edge processor 15 c thus constituted, if the size of the pixel data G1 is 100, the size of the pixel data G2 is 100, the size of the pixel data G3 is 100, and the size of the pixel data G4 is 0 for example, the sizes of the pixel data between the second place and the third place are all 100, so that the size of the interpolated pixel data G′ is limited to 100. Consequently, according to the edge processor 15 c, the interpolated pixel data G′ obtained by vertically interpolating the pixel data shown in FIG. 15 is not computed as (100+0)=50.

[0106] The correlation value detecting block 16 receives pixel data from the above-mentioned gamma correcting circuit 14. The correlation value detecting block 16 includes a horizontal-direction correlation detector 16 a for detecting a horizontal-direction correlation value and a vertical-direction correlation detector 16 b for detecting a vertical-direction correlation value.

[0107] To compute a horizontal correlation value Ch, the horizontal-direction correlation detector 16 a uses a filter indicated by a relation (3) shown below for a pixel for which pixel data G exists or a filter indicated by a relation (4) shown below for a pixel for which pixel data G does not exist. $\begin{matrix} {{Ch} = \begin{bmatrix} {- 1} & 0 & 2 & 0 & {- 1} \\ 0 & 0 & 0 & 0 & 0 \\ {- 6} & 0 & 12 & 0 & {- 6} \\ 0 & 0 & 0 & 0 & 0 \\ {- 1} & 0 & 2 & 0 & {- 1} \end{bmatrix}} & (3) \\ {{Ch} = \begin{bmatrix} {- 1} & 0 & 2 & 0 & {- 1} \\ 0 & 0 & 0 & 0 & 0 \\ {- 1} & 0 & 2 & 0 & {- 1} \end{bmatrix}} & (4) \end{matrix}$

[0108] To be more specific, the-horizontal correlation value Ch is computed through LPF (Low-Pass Filter) [1, 0, 6, 0, 1] by use of the relation (3) if the pixel data G exists in vertical direction or through LPF [1, 0, 1] by use of the relation (4) if the pixel data G does not exist. Also, the horizontal correlation value Ch is computed through BPF (Band-Pass Filter) [−1, 0, 2, 0, −1] in horizontal direction.

[0109] Referring to FIG. 16, the horizontal-direction correlation detector 16 a includes an input block 50 into which pixel data are inputted from the gamma correcting circuit 14 at terminals 50 a through 50 e, a filter 52 for generating horizontal correlation value Ch from the inputted pixel data, a selector 53 into which the horizontal correlation value Ch is inputted, and an output block 54 for outputting the horizontal correlation value Ch received from the selector 53.

[0110] The input block 50 sequentially receives the vertically arranged pieces of pixel data shown in FIG. 3 from the gamma correcting circuit 14. The input block 50 has a terminal 50 a at which the pixel data in 1h is inputted, a terminal 50 b at which the pixel data in 3h is inputted, a terminal 50 c at which the pixel data in 0h is inputted, a terminal 50 d at which the pixel data in 4 h is inputted, and a terminal 50 e at which the pixel data in 2h is inputted.

[0111] The filter 52 includes an adder 52 a into which the pixel data are inputted from the terminals 50 a and 50 b, an adder 52 b into which the pixel data are inputted from the terminals 50 c and 50 d, an adder 52 c into which the pixel data are inputted from the terminal 50 e, and an adder 52 d into which the outputs of the adders 52 b and 52 c are inputted. Like the filter 33 shown in the above-mentioned horizontal-direction interpolator 15 a and the vertical-direction interpolator 15 b, the filter 52 constitutes filter [1, 0, 6, 0, 1]/8 by the adders 52 b, 52 c, and 52 d and filter [1, 0, 1]/2 by the adder 52 a.

[0112] The selector 53 has a selector 53 a into which the output of the adder 52 d and the pixel data from the terminal 50 e are inputted and a selector 53 b into which the output of the adder 52 a and the output of the selector 53 a are inputted. The selectors 53 a and 53 b are controlled by a control signal supplied from the control block 10. To be more specific, when the control signal H comes from the control block 10, the selector 53 a outputs the pixel data received through the adders 52 b, 52 c, and 52 d. When the control signal L comes from the control block 10, the selector 53 a outputs the pixel data received from the terminal 50 e. The selector 53 b outputs, according to the control signal received from the control block 10, the horizontal correlation value Ch that passed the adder 52 a or the pixel data that passed the selector 53 a.

[0113] It should be noted that, in the horizontal-direction correlation detector 16 a, the pixel data from which a correlation value is computed may be inputted in the selector 53 without passing the adders 52 b, 52 c, and 52 d. Thus, use of the pixel data G as a correlation value without passing the filter 52 can restrict the band of the pixel data G from lowering and simplify the circuitry.

[0114] The selector 53 b is controlled to pass the outputs of the adders 52 b, 52 c, and 52 d or the output from the terminal 50 e for a pixel for which the pixel data G exists. The selector 53 b is controlled to pass the output of the adder 52 a for a pixel for which the pixel data G does not exist.

[0115] The output block 54 outputs the horizontal correlation value Ch received from the selector 53 b. The output block 54 is connected to the noise canceling block 17 through BPF [−1, 0, 2, 0, −1] in horizontal direction not shown, outputting the horizontal correlation value Ch to the noise canceling block 17.

[0116] The vertical-direction correlation detector 16 b computes a vertical correlation value Cv by use of a filter indicated in a relation (5) shown below for a pixel for which the pixel data G exists or a filter indicated in a relation (6) shown below for a pixel for which the pixel data G does not exist. $\begin{matrix} {{Cv} = \begin{bmatrix} {- 1} & 0 & {- 6} & 0 & {- 1} \\ 0 & 0 & 0 & 0 & 0 \\ 2 & 0 & 12 & 0 & 2 \\ 0 & 0 & 0 & 0 & 0 \\ {- 1} & 0 & {- 6} & 0 & {- 1} \end{bmatrix}} & (5) \\ {{Cv} = \begin{bmatrix} {- 1} & 0 & {- 1} \\ 0 & 0 & 0 \\ 2 & 0 & 2 \\ 0 & 0 & 0 \\ {- 1} & 0 & {- 1} \end{bmatrix}} & (6) \end{matrix}$

[0117] To be more specific, the vertical correlation value Cv is computed through BPF [−1, 0, 2, 0, −1] by use of the relations (5) and (6) in vertical direction. If the pixel data G exists, the vertical correlation value Cv is computed through LPF [1, 0, 6, 0, 1] by use of the relation (5) in horizontal direction or through LPF [1, 0, 1] by-use of the relation (6) if the pixel data G does not exist.

[0118] Referring to FIG. 17, the vertical-direction correlation detector 16 b includes an input block 55 into which pixel data are inputted through BPF [−1, 0, 2, 0, −1] in vertical direction not shown, delays circuits 56 a through 56 d into which the pixel data are inputted from the input block 55, a filter 57 for generating a vertical correlation value Cv from the pixel data received from the delay circuits 56 a through 56 d, a selector 58 into which the vertical correlation value Cv is inputted through the filter 57, and an output block 59 for outputting the vertical correlation value Cv received from the selector 58.

[0119] The input block 55 sequentially receives the pixel data from the gamma correcting circuit 14 through BPF [−1, 0, 2, 0, −1] in vertical direction not shown. Then, the input block 55 outputs the received pixel data to the delay circuits 56 a through 56 d that are similar in constitution to the delay circuit 31 provided in the above-mentioned horizontal-direction interpolator 15 a.

[0120] The filter 57 is similar in constitution to the filter 52 provided in the horizontal-direction correlation detector 16 a and includes adders 57 a, 57 b, 57 c, and 57 d. Like the filter 53 provided in the horizontal-direction correlation detector. 16 a, the filter 57 constitutes filter [1, 0, 6, 0, 1]/8 by the adders 57 b, 57 c, and 57 d and filter [1, 0, 1]/2 by the adder 57 a. It should be noted that, like the horizontal-direction correlation detector 16 a, the vertical-direction correlation detector 16 b may input the pixel data from which the correlation value Cv is computed into the selector 58 without passing the adders 57 b, 57 c, and 57 d.

[0121] The selector 58 is similar in constitution to the selector 53 provided in the horizontal-direction correlation detector 16 a and has selectors 58 a and 58 b. The selectors 58 a and 58 b are controlled by a control signal supplied from the control block 10.

[0122] The selector 58 b is controlled to pass the outputs of the adders 57 b, 57 c, and 57 d or the output of the delay circuit 56 b for a pixel for which pixel data G exists. For a pixel for which pixel data G does not exist, the selector 58 b is controlled to pass the output of the adder 57 a.

[0123] The output block 59 outputs the vertical Correlation value Cv received from the selector 58 b. The output block 59 is connected to the noise canceling block 17 and outputs the vertical correlation value Cv to the noise canceling block 17.

[0124] The correlation value detecting block 16 thus constituted can compute a correlation value C only from the pixel data G for example through the circuits that use the relations (3) through (6), thereby providing the horizontal and vertical correlation values Ch and Cv without being affected by the color of a subject.

[0125] Referring to FIG. 2, the noise canceling block 17 has a noise canceler 17 a connected to the horizontal-direction correlation detector 16 a and a noise canceler 17 b connected to the vertical-direction correlation detector 16 b. The noise cancelers 17 a and 17 b a constitution similar to that shown in FIG. 18.

[0126] Referring to FIG. 18, the noise cancelers 17 a and 17 b include each an absolute value converting circuit 60 into which the correlation value C is inputted from the correlation detectors 16 a and 16 b, a subtracting circuit 61 into which the absolute correlation value is inputted, and a limiter 62 into which the subtracted correlation value C is inputted.

[0127] The absolute value converting circuit 60 is composed of an exclusive OR gate 60 a and an adder 60 b for example. The absolute value converting circuit 60 makes absolute the received correlation value C to provide a positive value. Then, the absolute value converting circuit 60 outputs the resultant absolute correlation value C to the subtracting circuit 61.

[0128] The subtracting circuit 61 is constituted by a subtractor 61 a for example. The correlation value C is inputted from the absolute value converting circuit 60 into the subtractor 61 a. The subtractor 61 a receives a control signal from the control block 10 indicative of a subtrahend for subtracting a predetermined value from the inputted correlation value C. Then, the subtractor 61 a subtracts the subtrahend from the correlation value C according to the control signal. Thus, by performing subtraction processing, the subtractor 61 a subtracts, as indicated by a dashed line of FIG. 19A, the output of the correlation value C as indicated by a solid line of FIG. 19A. Then, the subtracting circuit 61 outputs the subtracted correlation value C to the limiter 62.

[0129] The limiter 62 is composed of an inverter 62 a and an AND gate 62 b for example. The limiter 62 performs processing so that the correlation value C subtracted by the subtracting circuit 61 to be a negative value as shown in FIG. 19B becomes 0. Then, the limiter 62 outputs the resultant correlation value C to the offset circuit 18.

[0130] The noise canceling block 17 thus constituted performs subtracting processing on the inputted correlation value C to eliminate minute correlation values C, thereby canceling the noises at minute values. According to the noise canceling block 17, the correlation value C is computed by passing the same through the BPF, so that the correlation value C computed for the noise of the CCD 3 itself can be canceled. In addition, according to the noise canceling block 17, if a noise component is included in the pixel data generated by the CCD 3 and the correlation value C is computed for that noise, the minute correlation values can be subtracted. Therefore, according to the noise canceling block 17, interpolated pixel data can be weighted by use of the correlation value C having few noises, thereby preventing image degradation due to the false-color signal included in an output image.

[0131] Referring to FIG. 2, the offset circuit 18 has an offset circuit 18 a into which a horizontal correlation value C is inputted from the noise canceler 17 a and an offset circuit 18 b into which a vertical correlation value C is inputted from the noise canceler 17 b. These offset circuits 18 a and 18 b have a similar constitution as shown in FIG. 20.

[0132] The offset circuits 18 a and 18 b are each constituted by an adder 65 for example as shown in FIG. 20. The correlation value C is inputted in the adder 65 from the noise cancelers 17 a and 17 b. A control signal indicative of a predetermined offset value is also inputted in the adder 65 from the control block 10.

[0133] When the correlation value C is inputted from the noise cancelers 17 a and 17 b, the adder 65 adds the offset value to the correlation value C. Then, the adder 65 outputs a result of the addition to the normalizing circuit 19. Namely, the offset circuits 18 a and 18 b add the offset value to the correlation value C as indicated by a dashed line of FIG. 21 supplied from the noise cancelers 17 a and 17 b for example to produce a correlation value C as indicated by a solid line of FIG. 21.

[0134] Thus, in the offset circuits 18 a and 18 b, the offset value is added to a correlation value C, so that if the amplitude of the inputted correlation value C is about 0, a large correlation value C can be provided. The offset circuits 18 a and 18 b thus constituted can prevent the horizontal correlation value Ch and the vertical correlation value Cv from being drastically changed even if the amplitudes of a high-frequency signal and these correlation values are minute in the case of pixel data for which no correlation value C can be obtained by the above-mentioned correlation detecting block 16, for example pixel data constituting the image data in which color change takes place for each pixel. Namely, according to the offset circuits 18 a and 18 b, adding the offset value to a correlation value C makes the interpolated pixel data to be weighted by a correlation value C approach the direction in which the interpolation is made by arithmetic mean. Therefore, according to the offset circuits 18 a and 18 b, if the amplitude of an inputted correlation value C is minute or in the case of a high-frequency signal changing for each pixel as shown in FIG. 22, the horizontal correlation value Ch and the vertical correlation value Cv do not drastically change from 1 to 0 and 0 to 1 respectively in adjacent pixels.

[0135] Referring to FIG. 2, the normalizing circuit 19 is composed of an adder 19 a into which a horizontal correlation value Ch and a vertical correlation value Cv are inputted from the offset circuits 18 a and 18 b and a divider 19 b into which the vertical correlation value Cv and the output of the adder 19 a are inputted

[0136] The normalizing circuit 19 thus constituted adds the vertical correlation value Cv and the horizontal correlation value Ch by the adder 19 a and outputs a result of this addition to the divider 19 b, in which the vertical correlation value Cv is divided by the result of the addition. Then, the normalizing circuit 19 computes a vertical correlation value Cv indicated by a relation (7) shown below. The horizontal correlation value Ch can be expressed as a relative value of the vertical correlation value Cv as indicated by a relation (8) shown below. $\begin{matrix} {{{Vertical}\quad {correlation}\quad {value}} = \frac{Cv}{{Cv} + {Ch}}} & (7) \\ {{{Horizontal}\quad {correlation}\quad {value}} = {1 - \frac{Cv}{{Cv} + {Ch}}}} & (8) \end{matrix}$

[0137] The bias correcting circuit 20 is constituted by an adder 20 a as shown in FIG. 23. The vertical correlation value Cv indicated by the relation (7) is inputted in the bias correcting circuit 20 from the normalizing circuit 19. A correction value α is inputted into the adder 20 a from the control block 10. This correction value α is generated by the control block 10 and adjusted in a range of −1 to 1 according to the setting of the CCD 3 for example.

[0138] The bias correcting circuit 20 adds the inputted vertical correlation value Cv to the inputted bias correcting value α. As a result of this addition, the vertical correlation value Cv becomes as indicated by a relation (9) shown below. $\begin{matrix} {{{Vertical}\quad {correlation}\quad {value}} = {\frac{Cv}{{Cv} + {Ch}} + \alpha}} & (9) \end{matrix}$

[0139] Therefore, as shown in FIG. 24 for example, the bias correcting circuit 20 can change the inputted vertical correlation value Cv indicated by a dashed line to a value between the solid lines by adding the correction value α. Namely, by adding the correction value a to a vertical correlation value Cv, the bias correcting circuit 20 can control and correct the vertical correlation value Cv by controlling the correction value a inputted from the control block 10 if the vertical correlation value Cv and the horizontal correlation value Ch do not reach a same level due to the distortion or the like in a signal coming from the CCD 3. In addition, if the relationship between vertical correlation and horizontal correlation cannot be correctly detected due the aspect ratio of the CCD or a distortion caused by detection of an analog signal outputted from the CCD, the bias correcting circuit 20 can control the balance between the horizontal correlation value Ch and the vertical correlation value Cv by controlling the correction value a supplied from the control block 10.

[0140] The emphasis/deemphasis circuit 21 is composed of a subtractor 21 a into which the vertical correlation value Cv is inputted from the bias correcting circuit 20, a multiplier 21 b into which the subtracted vertical correlation value Cv is inputted, an adder 21 c into which the multiplied vertical correlation value Cv is inputted, and a limiter 21 d into which the added vertical correlation value Cv is inputted.

[0141] In the subtractor 21 a, the vertical correlation value Cv having a value 0 to 1 is inputted from the bias correcting circuit 20 and subtraction processing is performed on the inputted vertical correlation value Cv. The subtractor 21 a subtracts only 0.5 from the vertical correlation value Cv. The multiplier 21 b perform multiplication processing on the vertical correlation value Cv based on a control signal indicative of a multiplier inputted from the control block 10. The adder 21 c adds only 0.5 to the vertical correlation value Cv. The limiter 21 d limits the inputted vertical correlation value Cv in a certain range.

[0142] In the emphasis/deemphasis circuit 21, when the vertical correlation value Cv is inputted from the bias correcting circuit 20, first the subtractor 21 a subtracts only 0.5 from the vertical correlation value Cv. Then multiplication processing is carried out on the subtracted vertical correlation value Cv. In this processing, the slope of the input/output of characteristic of the vertical correlation value shown by the solid line in FIG. 26 is varied to the slope shown by the dotted line or the dashed line in FIG. 26 corresponding to the multiplier inputted from the control block 10. Next, the adder 21 c adds the 0.5 which has been subtracted by the subtractor 21 a to the vertical correlation value Cv. The limiter 21 d limits the vertical correlation value Cv in a range of 0 to 1.

[0143] The emphasis/deemphasis circuit 21 thus constituted multiplies the vertical correlation value Cv by the multiplier supplied from the control block 10 to vary the slope of the input/output characteristic of the vertical correlation value Cv as shown in FIG. 26. Therefore, according to the emphasis/deemphasis circuit 21, the vertical correlation value Cv can be varied by varying multiplier supplied from the control block 10. Consequently, according to the emphasis/deemphasis circuit 21, when weighting interpolated pixel data as will be described, control may be made so that, by varying a correlation value for weighting the interpolated pixel data, the interpolated data places emphasis on the correlation or interpolation is performed to make the interpolated pixel data approach arithmetic mean. In addition, according to the emphasis/deemphasis circuit 21, a correlation value can be controlled by varying a multiplier even if the amount of light inputted in the CCD 3 is small and therefore the output of the CCD 3 involves a lot of noises to fail the correct computation of the correlation value.

[0144] Referring to FIG. 2, the weighted addition circuit 22 is composed of a subtractor 22 a into which the vertical correlation value Cv is inputted to generate normalized horizontal correlation value Ch, a multiplier 22 b into which the normalized horizontal correlation value Ch is inputted, and a multiplier 22 c into which the vertical correlation value Cv is inputted, and an adder 22 d into which the vertical and horizontal interpolated pixel data are inputted.

[0145] In the weighted addition circuit 22, the vertical correlation value Cv is inputted from the emphasis/deemphasis circuit 21 into the subtractor 22 a and the multiplier 22 c. The subtractor 22 a subtracts the vertical correlation value Cv from 1 to generate the horizontal correlation value Ch. Then, the subtractor 22 a outputs the generated horizontal correlation value Ch to the multiplier 22 b.

[0146] The multiplier 22 b receives the vertical interpolated pixel data from the vertical-direction interpolator 15 b and the horizontal correlation value Ch from the subtractor 22 a. The multiplier 22 b multiplies the inputted vertical-direction interpolated pixel data by the inputted horizontal correlation value Ch. Thus, the multiplier 22 b performs weighting by multiplying the vertical-direction interpolated pixel data by the horizontal correlation value Ch.

[0147] The multiplier 22 c receives the horizontal-direction interpolated pixel data from the horizontal-direction interpolator 15 a and the vertical correlation value Cv. The multiplier 22 c multiplies the inputted horizontal-direction interpolated pixel data by the inputted vertical correlation value Cv. Thus, the multiplier 22 c performs weighting by multiplying the horizontal-direction interpolated pixel data by the vertical correlation value Cv.

[0148] The adder 22 d receives the horizontal-direction interpolated pixel data weighted by the multiplier 22 c and the vertical-direction interpolated pixel data weighted by the multiplier 22 b. The adder 22 d adds the inputted horizontal-direction interpolated pixel data to the inputted vertical-direction interpolated pixel data. Thus, by performing the addition processing, the adder 22 d obtains the interpolated pixel data weighted by the vertical and horizontal correlation values. Then, the adder 22 d outputs the obtained interpolated pixel data to the contour correcting circuit 23.

[0149] The contour correcting circuit 23 is connected to the adder 22 d of the weighted addition circuit 22. The interpolated pixel data is inputted in the adder 22 d into the contour correcting circuit 23 and a contour emphasis signal is also inputted extracted from a circuit not shown. This contour emphasis signal compensate the degraded response of the CCD 3 and emphasizes the definition thereof. The contour correcting circuit 23 adds the inputted contour emphasis signal to the inputted interpolated pixel data and outputs the result to the Y/C converter 24.

[0150] The Y/C converter 24 is connected to the contour correcting circuit 23 and receives the interpolated pixel data therefrom. The Y/C converter 24 converts the inputted interpolated pixel data consisting of R, G, and B into a Y/C signal consisting of a luminance signal (Y) and a color difference signal (C). Then, the Y/C converter 24 outputs the resultant Y/C signal to the color-difference signal suppresser 25.

[0151] The color-difference signal suppresser 25 is connected to the Y/C converter 24 and receives the Y/C signal therefrom. As shown in FIG. 27, the color-difference signal suppresser 25 is composed of a BG-data suppresser 25 a into which a color difference B-G of pixel data with one line consisting of pixel data G and B is inputted and an RG data suppresser 25 b into which a color difference R-G of pixel data with one line consisting of pixel data G and R is inputted.

[0152] The BG data suppresser 25 a has input blocks 70 a through 70 c into which a color difference B′-G′ of interpolated pixel data G′ and B′ is inputted, absolute value converting circuits 71 a through 71 c into which the color difference B′-G′ is inputted from the input blocks 70 a through 70 c, comparators 72 a through 72 c into which the absolute value color-difference B′-G′ is inputted from the absolute value converting circuits 71 a through 71 c, a computing circuit 73 into which a comparison result is inputted from the comparators 72 a through 72 c, a selector 74 into which a computation result is inputted from the computing circuit 73, and an output block 75 into which the pixel data is inputted from the selector 74.

[0153] The color difference B′-G′ in vertical direction is inputted in the input block 70 a. The color difference B′-G′ in horizontal direction is inputted in the input block 70 b. The color difference B′-G′ weighted by a correlation value is inputted in the input block 70 c. The input block 70 b outputs the inputted color difference B′-G′ to the absolute value converting circuit 71 a. The input block 70 b outputs the inputted color difference B′-G′ to the absolute value converting circuit 71 b. The input block 70 c outputs the inputted color difference B′-G′ to the absolute value converting circuit 71 c.

[0154] The absolute value converting circuits 71 a through 71 c are each composed of an exclusive OR gate 76 and an adder 77 for example. The absolute value converting circuits 71 a through 71 c make absolute the inputted color difference B′-G′ into a positive value. The absolute value converting circuits 71 a through 71 c output the absolute value color difference B′-G′ to the comparators 72 a through 72 c.

[0155] The comparator 72 a receives at its terminal B the color difference B′-G′ through the absolute value converting circuit 71 a and at its terminal A the color difference B′-G′ through the absolute value converting circuit 71 c. The comparator 72 b receives at its terminal A the color difference B′-G′ through the absolute value converting circuit 71 a and at its terminal B the color difference B′-G′ through the absolute value converting circuit 71 b. The comparator 72 c receives at its terminal A the color difference B′-G′ through the absolute value converting circuit 71 b and at its terminal B the color difference B′-G′ through the absolute value converting circuit 71 c. The comparators 72 a through 72 c each compare the magnitudes of the color differences B′-G′ inputted at the terminals A and B. If the color difference B′-G′ inputted at the terminal A is found greater than that inputted at the terminal B, the comparators output comparison result H to the computing circuit 73. If the color difference B′-G′ inputted at the terminal A is found equal to or smaller than that inputted at the terminal B, the comparators output a comparison result L to the computing circuit 73.

[0156] The computing circuit 73 receives the comparison result from the comparators 72 a through 72 c and a control signal from the control block 10. The computing circuit 73 generates a computation result based on these comparison result and the control signal and outputs the generated computation result to the selector 74.

[0157] If the control signal H comes, the computing circuit 73 outputs a computation result 11. If the control signal L comes, the computing circuit 73 generates a computation result based on the comparison results coming from the comparators 72 a through 72 c. If the comparison results of the comparators 72 a, 72 b, and 72 c are H, L, and X respectively, the computing circuit 73 outputs computation result “00” to the selector 74. If the comparison results of the comparators 72 a, 27 b, and 72 c ate X, H, and L respectively, the computing circuit 73 outputs computation result “01” to the selector 74. If the comparison results of the comparators 72 a, 72 b, and 72 c are L, X, and H, the computing circuit 73 outputs computation result “10” to the selector 74.

[0158] The selector 74 receives the computation result from the computing circuit 73 and the color differences B′-G′ from the input blocks 70 a through 70 c. The selector 74 receives at its “11” terminal and “10” terminal the color difference B′-G′ from the input block 70 c, at its terminal “01” the color difference B′-G′ from the input block 70 b, and at its terminal “00” the color difference B′-G′ from the input block 70 a. If the computation result “11” comes, the selector 74 outputs the color difference B′-G′ received at the terminal “11”. If the computation result “10” comes, the selector 74 outputs the color difference B′-G′ received at the terminal “10”. If the computation result “01” comes, the selector 74 outputs the color difference B′-G′ received at the terminal “01”. If the computation result “00” comes, the selector 74 outputs the color difference B′-G′ received at the terminal “00”.

[0159] The RG data suppresser 25 b receives color difference R′-G′ at the input blocks 70 a through 70 c. The RG data suppresser 25 b puts the color difference R′-G′ through the absolute value converting circuit 71, the comparator 72, the computing circuit 73, and the selector 74 to select the smallest color difference R′-G′ to be outputted at the output block 75.

[0160] Therefore, as shown in FIG. 28A, the color difference signal suppresser 25 thus constituted selects the smallest interpolated pixel data Rh and Gh of the interpolated pixel data Rv and Gv for vertically arranged pixel data R and G, the Rh and Gh for horizontally arranged pixel data R and G, and the color difference of weighted interpolated pixel data Rc and Gc. In addition, the color difference signal suppresser 25 selects the interpolated pixel data R′-G′ nearest to 0 of the compared interpolated pixel data as shown in FIG. 28B.

[0161] The color difference signal suppresser 25 thus constituted outputs the interpolated pixel data received at the input blocks 70 a through 70 c that has the smallest absolute value. Therefore, when pixel data is generated by the interpolated pixel data weighted by a correlation value in a band in which no correlation can be obtained, the color difference suppressor 25 can prevent an image that has a high brightness and is achromatic (for example, a glistening glass) from taking on a false color. Consequently, the color-difference signal suppresser 25 can prevent a color turn distortion from occurring even in a frequency range in which no correlation is obtained.

[0162] The output block 75 outputs the interpolated pixel data from the selector 74 to the output block 26. The output block 26 is a terminal to a recording medium for recording pixel data, a display monitor, or outside equipment for example.

[0163] In the foregoing, the description has been made using the camera apparatus 1 having the CCD 3 of primary color coding for example. It will be apparent to those skilled in the art that the present invention is also applicable to any solid state image sensors of coding in which the majority color of the colors presented by the pixel data included in image data is arranged in a checker.

[0164] While the preferred embodiments of the present invention have been described using specific terms, such description is for illustrative purposes only, and it is to be understood that changes and variations may be made without departing from the spirit or scope of the appended claims. 

What is claimed is:
 1. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; a normalizing means for normalizing said correlation value detected by said correlation detecting means in each of said at least two directions to generate a normalized value indicative of a relative value of said correlation value of each of said at least two directions; a correcting means for adding a predetermined correction value to said normalized value generated by said normalizing means; a weighting means for weighting said interpolated pixel data in each of said at least two directions generated by said interpolated pixel data generating means with said normalized value obtained by adding said correction value to said interpolated pixel data in each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and an image generating means for generating an image based on said interpolated pixel data weighted by said weighting means.
 2. The camera signal processing means as set forth in claim 1, further comprising: a control means for controlling said correcting means, wherein said control means generates said correction value in an range of −1 to 1 to have said correcting means add said correction value to said normalized value.
 3. The camera signal processing means as set forth in claim 1, further comprising: a limiting means for limiting said normalized value corrected in each of said at least two directions by said correcting means, wherein said limiting means limits said normalized value detected by said correlation detecting means in each of said at least two directions to a range of 0 to
 1. 4. A camera signal processing method-comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; detecting a correlation value indicative of a degree of correlation in each of said at least two-directions of said interpolated pixel data; normalizing said correlation value in each of said at least two directions to generate a normalized value indicative of a relative value of said correlation value in each of said at least two directions; adding a predetermined correction value to said normalized value; weighting said interpolated pixel data in each of said at least two directions with said normalized value obtained by adding said correction value to said interpolated pixel data in each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and generating an image based on said weighted interpolated pixel data.
 5. The camera signal processing method as set forth in claim 4, wherein, when adding said normalized value to said correction value, said correction value is generated in a range of −1 to
 1. 6. The camera signal processing method as set forth in claim 4, wherein, after adding said correction value to said normalized value, said normalized value is controlled to fall within a range of 0 to
 1. 7. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; and a weighting means for weighting said interpolated pixel data in each of said at least two directions generated by said interpolated pixel data generating means with said correlation value detected by said correlation value detecting means in each of said at least two directions and adding the weighted interpolated pixel data in said at least two directions to generate interpolated pixel data.
 8. The camera signal processing apparatus as set forth in claim 7, wherein said interpolated pixel data generating means performs interpolation on all pixels to which pixel data to be generated based on a signal coming from said solid-state image sensor is given.
 9. The camera signal processing apparatus as set forth in claim 8, wherein said interpolated pixel data generating means generates said interpolated pixel data by applying a filter [1, 4, 6, 4, 1]/8 in said at least two directions.
 10. The camera signal processing apparatus as set forth in claim 7, wherein, if a line to be interpolated has no pixel data indicative of a color to be interpolated, said interpolated pixel data generating means generates said pixel data indicative of said color by use of pixel data of a line of substantially a same direction as that of said line to be interpolated and adjacent to thereto.
 11. A camera signal processing method comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data; and weighting said interpolated pixel data in each of said at least two directions with said correlation value in each of said at least two directions and adding the weighted interpolated pixel data in said at least two directions to generate interpolated pixel data.
 12. The camera signal processing method as set forth in claim 11, wherein said interpolated pixel data is generated for all pixels to which pixel data to be generated based on a signal coming from-said solid-state image sensor is given.
 13. The camera signal processing method as set forth in claim 12, wherein said interpolated pixel data is generated by applying a filter [1, 4, 6, 4, 1]/8 in said at least two directions.
 14. The camera signal processing method as set forth in claim 11, wherein, if a line to be interpolated has no pixel data indicative of a color to be interpolated, said pixel data indicative of said color is generated by use of pixel data of a line of substantially a same direction as that of said line to be interpolated and adjacent to thereto.
 15. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; an edge processing means for computing a limit value for each of said interpolated pixel data based on pixel data around said each of interpolated pixel data generated by said interpolated pixel data generating means; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; a weighting means for weighting said interpolated pixel data in each of said at least two directions generated by said interpolated pixel data generating means with said correlation value detected by said correlation detecting means in each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and an image generating means for generating an image based on said interpolated pixel data generated by said interpolated pixel data generating means; wherein said interpolated pixel data generating means generates interpolated pixel data for said pixel data based on said limit value computed by said edge processing means and said image generating means generates said image based on the generated interpolated pixel data.
 16. The camera signal processing apparatus as set forth in claim 15, wherein said edge processing means computes said limit value for interpolated pixel data for pixel data indicative of a majority color in all pixel data.
 17. A camera signal processing method comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in-which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; computing a limit value for each of said interpolated pixel data based on pixel data around said each of interpolated pixel data; generating, based on said limit value, interpolated pixel data in each of said at least two directions based on said position of said pixel data and said pixel data around said position; detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data; weighting said interpolated pixel data in each of said at least two directions with said correlation value of each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and generating an image based on the weighted interpolated pixel data.
 18. The camera signal processing method as set forth in claim 17, wherein said limit value is computed for interpolated pixel data for pixel data indicative of a majority color in all pixel data.
 19. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; a noise canceling means for subtracting a predetermined value from said correlation value detected by said correlation value detecting means; a weighting means for weighting said interpolated pixel data in each of said at least two directions generated by said interpolated pixel data generating means with said correlation value detected by said correlation detecting means in each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and an image generating means for generating an image based on said interpolated pixel data weighted by said weighting means.
 20. The camera signal processing apparatus as set forth in claim 19, wherein said noise canceling means has a subtracting means for performing subtraction on the correlation values of said at least two directions and a control means for generating a subtrahend for performing subtraction in said subtracting means, wherein said subtracting means receives said subtrahend generated by said control means to perform subtraction based on said subtrahend.
 21. The camera signal processing apparatus as set forth in claim 19, wherein said noise canceling means comprising: an absolute value converting means for making absolute the inputted correlation value in each of said at least two directions; a subtracting means for subtracting a predetermined value from the correlation value made absolute by said absolute value converting means in each of said at least two directions; and a limiting means for limiting said correlation value subtracted by said subtracting means in each of said at least two directions to a positive value.
 22. A camera signal processing method comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data; subtracting a predetermined value from said correlation value; and weighting said interpolated pixel data in each of said at least two directions with the subtracted correlation value in each of said at least two directions to generate interpolated pixel data obtained by adding together the weighted interpolated pixel data in all of said at least two directions.
 23. The camera signal processing method as set forth in claim 22, wherein subtraction is performed on said correlation value in each of said at least two directions based on an inputted subtrahend.
 24. The camera signal processing method as set forth in claim 22, wherein the inputted correlation value in each of said at least two directions is made absolute, a predetermined value is subtracted from the absolute correlation value in each of said at least two directions, and the subtracted correlation value in each of said at least two directions is limited to a positive value.
 25. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; an offset means for adding a predetermined value to the correlation value detected by said correlation detecting means in each of said at least two directions; a weighting means for weighting said interpolated pixel data generated by said interpolated pixel data generating means in each of said at least two directions with the correlation value added by said offset means in each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and an image generating means for generating an image based on said interpolated pixel data weighted by said weighting means.
 26. The camera signal processing apparatus as set forth in claim 25, further comprising: a control means for generating an offset value indicative of said predetermined value; wherein said offset means adds said offset value generated by said control means to said correlation value in each of said at least two directions.
 27. The camera signal processing apparatus as set forth in claim 26, wherein said control means generates said offset value by varying the magnitude of said offset value according to pixel data detected by said solid-state image sensor.
 28. A camera signal processing method comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data; adding a predetermined value to the correlation value in each of said at least two directions; weighting said interpolated pixel data in each of said at least two directions with the correlation value added with said predetermined value and adding together the weighted interpolated pixel, data in all of said at least two directions to generate interpolated pixel data; and generating an image based on the weighted interpolated pixel data.
 29. The camera signal processing method as set forth in claim 28, wherein an offset value indicative of said predetermined value is generated and the generated offset value is added to the said correlation value in each of said at least two direction.
 30. The camera signal processing method as set forth in claim 29, wherein said offset value is generated by varying the magnitude of said offset value according to said pixel data detected by said solid-state image sensor.
 31. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data to be generated according to a signal coming from a solid-state image sensor in which a light enters through a color filter having a different spectral characteristic for each pixel to provide interpolated pixel data based on a position of said pixel data and/or pixel data around said position; a correlation detecting means for detecting a correlation value for indicating a degree of correlation between a horizontal direction and a vertical direction of said interpolated pixel data generated by said interpolated pixel data generating means to weight said interpolated pixel data; and an image generating means for generating an image based on interpolated pixel data obtained by weighting said interpolated pixel data generated by said interpolated pixel data generating means with said correlation value detected by said correlation detecting means; wherein said correlation detecting means uses only pixel data indicative of a predetermined color in pixel data detected by said solid-state image sensor to detect a correlation value for interpolated pixel data indicative of said predetermined color and a correlation value for interpolated pixel data indicative of a color other than said predetermined color.
 32. The camera signal processing apparatus as set forth in claim 31, wherein said correlation detecting means uses only pixel data having substantially a same color as that of said interpolated pixel data and uses a band-pass filter [−1, 0, 2, 0, −1] and a low-pass filter [1, 0, 6, 0, 1]/8 and to detect said interpolated pixel data indicative of said predetermined color.
 33. The camera signal processing apparatus as set forth in claim 31, wherein said correlation detecting means uses only pixel data of said predetermined color and uses a band-pass filter [−1, 0, 2, 0, −1]and a low-pass filter [1, 0, 1]/2 to detect said correlation value for said interpolated pixel data indicative of a color other than said predetermined color.
 34. The camera signal processing apparatus as set forth in claim 32, further comprising: a control means for controlling said correlation detecting means; wherein said correlation detecting means detects said correlation value without using said low-pass filter according to a control signal coming from said control means.
 35. A camera signal processing method comprising the steps of: interpolating pixel data to be generated according to a signal coming from a solid-state image sensor in which a light enters through a color filter having a different spectral characteristic for each pixel to provide interpolated pixel data based on a position of said pixel data and/or pixel data around said position; detecting a correlation value for interpolated pixel data indicative of a predetermined color and a correlation value for interpolated pixel data indicative of a color other than said predetermined color by using only pixel data indicative of said predetermined color; weighting said interpolated pixel data with said correlation value; and generating an image based on the weighted interpolated pixel data.
 36. The camera signal processing method as set forth in claim 35, wherein said correlation value for said interpolated pixel data indicative of said predetermined color is detected by use of only pixel data having substantially a same color as that of said interpolated pixel data and by use of a band-pass filter [−1, 0, 2, 0, −1] and a low-pass filter [1, 0, 6, 0, 1]/8.
 37. The camera signal processing method as set forth in claim 35, wherein said correlation value for said interpolated pixel data indicative of a color other than said predetermined color is detected by use of only said pixel data indicative of said predetermined color and by use of a band-pass filter [−1, 0, 2, 0, −1] and a low-pass filter [1, 0, 1]/2.
 38. The camera signal processing method as set forth in claim 36, wherein said correlation value for said pixel data indicative of said predetermined color is detected without using said low-pass filter.
 39. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; an emphasis/deemphasis means for performing control whether said interpolated pixel data is to be generated by emphasizing the correlation depending on said correlation value detected by said correlation detecting means in each of said at least two directions; a weighting means for weighting said interpolated pixel data in each of said at least two directions generated by said interpolated pixel data generating means with the correlation value controlled by said emphasis/deemphasis means in each of said at least two directions and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and an image generating means for generating an image based on said interpolated pixel data weighted by said weighting means.
 40. The camera signal processing apparatus as set forth in claim 39, further comprising: a control means for controlling said emphasis/deemphasis means; wherein said control means outputs to said emphasis/deemphasis means a control signal for varying a slope of an input/output characteristic of said correlation value in each of said at least two directions, thereby controlling said emphasis/deemphasis means.
 41. The camera signal processing apparatus as set forth in claim 40, further comprising: a subtracting means for subtracting a predetermined value from said correlation value detected by said correlation detecting means in each of said at least two directions; and an adding means for adding said predetermined value to the correlation value subtracted by said subtracting means in each of said at least two directions; wherein said predetermined value is subtracted by said subtracting means from said correlation value detected by said correlation detecting means in each of said at least two directions and then a slope of an input/output characteristic of said correlation value in each of said at least two directions is varied by said emphasis/deemphasis means to add said predetermined value by said adding means.
 42. The camera signal processing apparatus as set forth in claim 40, further comprising: a limiting means for limiting a range of said correlation value in each of said at least two directions; wherein said limiting means limits said range of said correlation value in each of said at least two directions of which slope of the input/output characteristic has been varied by said emphasis/deemphasis means.
 43. The camera signal processing apparatus as set forth in claim 39, further comprising: a normalizing means for generating a normalized value indicative of a relative value of said correlation value in each of said at least two directions by normalizing said relative value detected by said correlation detecting means in each of said at least two directions; wherein said emphasis/deemphasis means varies a slope of said normalized value generated by said normalizing means.
 44. A camera signal processing method comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data; performing control whether said correlation is to be emphasized depending on said correlation value in each of said at least two directions; weighting said interpolated pixel data in each of said at least two directions with the correlation value in each of said at least two directions of which degree of correlation emphasis is controlled and adding together the weighted interpolated pixel data in all of said at least two directions to generate interpolated pixel data; and generating an image based on said weighted interpolated pixel data.
 45. The camera signal processing method as set forth in claim 44, wherein a control signal for varying a slope of an input/output characteristic of said correlation value in each of said at least two directions is generated and control is performed by said control signal whether the correlation is to be emphasized depending on said correlation value in each of said at least two directions.
 46. The camera signal processing method as set forth in claim 45, wherein: a predetermined value is subtracted from said correlation value in each of said at least two directions; and said predetermined value is added to the subtracted correlation value in each of said at least two directions; wherein; said predetermined value is subtracted from said correlation value in each of said at least two directions and then a slope of an input/output characteristic of said correlation value in each of said at least two directions is varied to add said predetermined value by said adding means.
 47. The camera signal processing method as set forth in claim 45, wherein said slope of said input/output characteristic is varied by limiting a range of said correlation value in each of said at least two directions.
 48. The camera signal processing method as set forth in claim 44, wherein said correlation value in each of said at least two directions is normalized to generate a normalized value indicative of a relative value of said correlation value in each of said at least two directions and a slope of said normalized value is varied.
 49. A camera signal processing apparatus comprising: an interpolated pixel data generating means for interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; a correlation detecting means for detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data generated by said interpolated pixel data generating means; a color-difference signal detecting means for detecting a color-difference signal of each of said interpolated pixel data in each of said at least two directions generated by said interpolated pixel data generating means and interpolated pixel data added with said correlation value detected by said correlation detecting means in each of said at least two directions; a selecting means for selecting a smallest one of the color-difference signal of said interpolated pixel data in each of said at least-two directions and the color-difference signal of the interpolated pixel data computed by use of said correlation value in each of said at least two directions; and an image generating means for generating an image based on the interpolated pixel data selected by said selecting means.
 50. The camera signal processing apparatus as set forth in claim 49, further comprising: a control means for controlling said selecting means; wherein said control means controls said selecting means such that the selecting means selects one of the color-difference signal of said interpolated pixel-data in each of said at least two directions and the color-difference signal of the interpolated pixel data computed by use of said correlation value in each of said at least two directions.
 51. The camera signal processing apparatus as set forth in claim 49, wherein said selecting means selects the smallest of the color-difference signals having at least a predetermined value.
 52. The camera signal processing apparatus as set forth in claim 49, further comprising: an absolute value converting circuit for making absolute the color-difference signals of said interpolated pixel data in each of said at least two directions and said interpolated pixel data computed by use of said correlation value in each of said at least two directions; wherein said selecting means selects a smallest color-difference signal outputted from said absolute value converting circuit.
 53. A camera signal processing method comprising the steps of: interpolating pixel data in at least two directions based on a position of said pixel data and/or pixel data around said position, said pixel data being generated based on an imaging signal coming from a solid-state image sensor in which an imaging light enters through a color filter having a different spectral characteristic for each pixel, thereby separately generating interpolated pixel data in said at least two directions; detecting a correlation value indicative of a degree of correlation in each of said at least two directions of said interpolated pixel data; detecting a color-difference signal of each of said interpolated pixel data in each of said at least two directions and interpolated pixel data added with said correlation value in each of said at least two directions; selecting a smallest one of the color-difference signal of said interpolated pixel data in each of said at least two directions and the color-difference signal of the interpolated pixel data computed by use of said correlation value in each of said at least two directions; and generating an image based on the selected interpolated pixel data.
 54. The camera signal processing method as set forth in claim 53, wherein one of the color-difference signal of said interpolated pixel data in each of said at least two directions and the color-difference signal of the interpolated pixel data computed by use of said correlation value in each of said at least two directions is selected.
 55. The camera signal processing method as set forth in claim 53, wherein the smallest one of the color-difference signals having at least a predetermined value is selected.
 56. The camera signal processing method as set forth in claim 53, wherein color-difference signals of vertically interpolated pixel data, horizontally interpolated pixel data, and said interpolated pixel data computed by use of said correlation value are made absolute and the smallest one of the absolute color-difference signals is selected. 